import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

// 导入模块
import cartModule from './cart'
import userModule from './user'

export default new Vuex.Store({
  state:{},
  getters:{},
  mutations:{},
  actions:{},
  modules:{
    m_cart:cartModule,
    m_user:userModule
  }
})